package com.renchunlin.sectetdemo;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

public class MyReceiver extends BroadcastReceiver {

    @Override
    public void onReceive(Context context, Intent intent) {
        if (intent.getAction().equals("sendMessage")) {
            Log.i("chen", "onReceive: 收到消息");
        }
    }
}